package com.future.scan.proxy;

/**
 * @author weber
 * @Description:
 * @Date 2025/8/4 15:25
 */
public class SecondProxyBean extends OriginBean {

    final OriginBean target;

    public SecondProxyBean(OriginBean target) {
        this.target = target;
    }

    @Override
    public void setVersion(String version) {
        this.target.setVersion(version);
    }

    @Override
    public String getName() {
        return target.getName();
    }

    @Override
    public String getVersion() {
        return this.target.getVersion();
    }


}
